package com.itheima.sh.a_HomeWork1;
//职员类
public class Clerk extends Employee{
   private String manager;

    public Clerk() {
    }

//    public Clerk(String manager) {
//        this.manager = manager;
//    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public Clerk(String workId, String name, String dept, String manager) {
        super(workId, name, dept);
        this.manager = manager;
    }




    @Override
    public void showMsg() {
        System.out.println("他的经理是"+getManager());
    }
}
